/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package SaleManagerServer.Pojo;

import java.sql.Date;

/**
 *
 * @author BPT
 */
public class PositionPOJO {

    public int userId;
    private double latitude;
    private double longitude;
    private Date datetime;

    public PositionPOJO(int userId, double latitude, double longitude, Date datetime) {
        this.userId = userId;
        this.latitude = latitude;
        this.longitude = longitude;
        this.datetime = datetime;
    }

    public PositionPOJO() {

    }

    public Date getDatetime() {
        return datetime;
    }

    public void setDatetime(Date datetime) {
        this.datetime = datetime;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }
}
